Document::DoSetupMenu

Section: ET++ method description (n)
Updated: automatically Fri Mar 15 14:13:05 1991
Index Return to Main Contents
 

NAME

Document::DoSetupMenu - instance method  

TEMPLATE

see template of EvtHandler::DoSetupMenu  

SPECIFIERS

public virtual  

DESCRIPTION

DoSetupMenu first calls the base class' method and then sets up the document's menu items according to whether the document is modified or untitled (see method Modified, instvar isUntitled). It updates the text of the "undo" menu item from the name of the instvar lastCmd (see method Command::GetUndoName). The "undo" menu item is only enabled if the command is undoable. Method is sometimes overridden. Method always calls base method.  

ARGUMENTS

see arguments of EvtHandler::DoSetupMenu  

RETURN ARGUMENT

see return argument of EvtHandler::DoSetupMenu  

CATEGORIES

miscellaneous  

FIRST DEFINITION

class EvtHandler  

FILES

implementation:
Document.C


 

Index

NAME
TEMPLATE
SPECIFIERS
DESCRIPTION
ARGUMENTS
RETURN ARGUMENT
CATEGORIES
FIRST DEFINITION
FILES

This document was created by man2html, using the manual pages.
Time: 00:40:28 GMT, March 30, 2022